<template>
  <page-main class="page-checkIn-index">
    <div class="p-t-15"></div>
    <van-cell-group inset :border="false" class="patient-card" @click="$util.gotoPage('/patient/select', {from: 'checkIn'})">
      <van-cell :label="patient.idNo" :border="false">
        <div class="title" slot="title">
          <b>{{patient.custName}}</b>
          <van-tag round class="tag-blue-light m-l-5">{{patient.relationType}}</van-tag>
        </div>
        <div class="value">
          <p class="icon"><van-icon name="sort" /></p>
          <p>切换就诊人</p>
        </div>
      </van-cell>
    </van-cell-group>
    
    <van-cell-group class="van-cell-left" size="large" :border="false">
      <van-cell title="就诊科室" value="xxxx" />
      <van-cell title="医生" value="xxxx" />
      <van-cell title="就诊时间" value="xxxx" />
    </van-cell-group>
    <div class="p-a-15">
      <van-button class="btn-grey" block v-if="info.status == 0">未到报到时间</van-button>
      <van-button type="info" block v-else>报到</van-button>
      <dl class="tips">
        <dt>温馨提示：</dt>
        <dd>(1)预约就诊时间段前半小时可以进行报到</dd>
        <dd>(2)同一挂号就诊时间段内，先报到先就诊；</dd>
        <dd>(3)已报到的患者，若在医生叫号后未及时就诊   的，系统自动将患者排队号向后推5位；</dd>
        <dd>(4)到院确认报到时间若超预约挂号时间30分钟，系统将自动取消预约号。</dd>
      </dl>
    </div>
  </page-main>
</template>

<script>
export default {
  data(){
    return{
      patient:{
        custName: '张三',
        relationType:'本人',
        idNo:'xxx',
      },
      info:{
        status:0,// 0未开始，1可报到
      }
    }
  }
}
</script>

<style>

</style>